import request from '@/utils/request'

const api = {
        apipath: '/op/v1/portal'
    }
    // 获取查询发文类型
export function save(params) {
    return request({
        url: api.apipath + '/save',
        method: 'post',
        data: params
    })
}
// 获取发文类型详情
export function getComp(params) {
    return request({
        url: '/Component/getComponent',
        method: 'get',
        params: params
    })
}
//删除
export function delComp(params) {
    return request({
        url: api.apipath,
        method: 'delete',
        params
    })
}